/*
 This file 'login' is part of Firebird Integrated Solution 1.0

 Copyright (c) 2015 Lincong

 Contact:  
        Email: lincong1987@gmail.com

        QQ: 159257119
 
 See Usage at http://www.jplatformx.com/firebird

 Create date: 2015-03-17 02:50
 */

input::-ms-clear,input::-ms-reveal {
    display: none
}

html, body {
    height: 100%;
    width: 100%;
    //	overflow: hidden;
    font-family: "SF Pro SC", "HanHei SC", "SF Pro Text", "Myriad Set Pro", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

body {
    margin: 0;
    //	overflow: hidden;
    color: #252525;
    padding: 0 0 100px 0;
    //background: url("../../../fb-desktop/img/login/psb-3.jpg") no-repeat center;
    background-size: cover;
    background-position: 50% 50%;
    background: #fff \9;
    &.trans {
	//-webkit-transform: scaleX(1) scaleY(1);
	//-ms-transform: scaleX(1) scaleY(1);
	transform: scaleX(1) scaleY(1);
	//-webkit-transition: all 10s linear;
	transition: filter 60s linear;
    }
}

body, html, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, header, menu, section, p, input, td, th {
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar {
    width: 7px;
    border: 0
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    height: 8px
}

::-webkit-scrollbar-thumb {
    background-color: #ddd
}

@ie8-fix: ~"\9";

.after() {
    &:after {
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
	content: ".";
    }
}

.ui-layout-noscript {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    //margin-left: -8px;
    //margin-top: -8px;
    width: 100%;
    height: 100%;
    min-width: 800px;
    text-align: center;
    overflow: hidden;
    background-color: #686868;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    cursor: default;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    .container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 500px;
	.center {
	    z-index: 1003;
	    position: absolute;
	    top: 44%;
	    margin-top: -125px;
	    width: 100%;
	    height: 250px;
	    text-align: center;
	    text-rendering: optimizeLegibility;
	    -webkit-font-smoothing: antialiased;
	    .title {
		color: #fff;
		font-size: 45px;
	    }
	    .subtitle {
		color: #c3c3c3;
		font-size: 21px;
	    }
	    a {
		color: #c3c3c3;
		font-size: 21px;
		text-decoration: none;
		border-bottom: 1px #c3c3c3 dotted;
		cursor: help;
	    }
	}
    }
}

.ui-login-header {
    margin: 0 auto;
    width: 960px;
    position: relative;
    height: 100px;
    margin-top: 0;
    .ui-login-logo {
	position: absolute;
	height: 65px;
	width: 300px;
	top: 30px;
	background: url("../../img/layout/logo.png") no-repeat;
	h1 {
	    a {
		display: block;
	    }
	}
    }
    
    .ui-login-help {
	position: absolute;
	right: 0;
	top: 70px;
	
	span {
	    color: #FFF;
	    color: #333 \9;
	    font-size: 12px;
	    text-shadow: 0 0 3px #333;
	    margin-left: 13px;
	    margin-right: 13px;
	}
	
	a {
	    color: #FFF;
	    color: #333 \9;
	    font-size: 12px;
	    text-shadow: 0 0 3px #333;
	    text-decoration: none;
	    &:hover {
		color: #626262;
	    }
	}
    }
}

.ui-login-body {
    margin: 0 auto;
    height: 350px;
    background: rgba(0, 0, 0, 0.3);
    background: #fff \9;
    //background: url("../../../fb-desktop/img/login/psb-3.jpg") no-repeat center @ie8-fix;
    
    .ui-login-body-content {
	margin: 0 auto;
	width: 960px;
	position: relative;
	background: blue;
	
	.ui-login-form {
	    position: absolute;
	    right: 25px;
	    top: 25px;
	    background: rgba(255, 255, 255, 0.41);
	    background: #fff \9;
	    width: 300px;
	    height: 300px;
	    box-shadow: 0 0 25px rgba(80, 80, 80, 0.62);
	    border-radius: 20px;
	    
	    .ui-login-form-title {
		position: absolute;
		top: 30px;
		left: 20px;
		height: 30px;
		span {
		    font-size: 16px;
		    font-weight: bold;
		    color: #dedede;
		}
	    }
	    
	    .ui-login-form-content {
		position: absolute;
		top: 70px;
		left: 20px;
		
		.ui-login-form-field {
		    position: relative;
		    height: 40px;
		    background: rgba(111, 111, 111, 0.34);
		    background: #fff \9;
		    border: 1px rgba(255, 255, 255, 0.36) solid;
		    border: 1px #eee solid \9;
		    width: 260px;
		    margin-bottom: 13px;
		    border-radius: 10px;
		    box-shadow: 0 0 10px #414141 inset;
		    
		    &.focus {
			border: 1px #74C5FF solid;
		    }
		    
		    .ui-login-form-field-icon {
			position: absolute;
			z-index: 100;
			left: 15px;
			top: 12px;
			background: url("../../img/login/login_field_icon.png") no-repeat;
			text-indent: -9999px;
			display: block;
			height: 20px;
			width: 20px;
			&.icon_user {
			    background-position: 0 0;
			}
			&.icon_password {
			    background-position: -24px 0;
			}
			&.icon_captcha {
			    background-position: -45px 0;
			}
		    }
		    
		    .ui-login-form-field-input {
			
			position: absolute;
			z-index: 99;
			border: none;
			color: #333;
			font-size: 14px;
			font-weight: 700;
			line-height: 21px;
			background: transparent;
			ime-mode: disabled;
			padding: 9px 0 10px;
			left: 40px;
			width: 200px;
			
			&:focus {
			    outline: none;
			}
			
		    }
		    
		    .ui-login-form-field-placeholder {
			position: absolute;
			z-index: 98;
			top: 10px;
			left: 40px;
			color: #CCC;
		    }
		    
		    &.captcha_field {
			//						width: 100px;
			.ui-login-form-field-input {
			    width: 200px;
			}
			img {
			    position: absolute;
			    width: 100px;
			    height: 30px;
			    left: 156px;
			    top: 5px;
			    z-index: 101;
			    cursor: pointer;
			}
		    }
		    
		}
	    }
	    
	    .ui-login-form-action {
		position: absolute;
		top: 235px;
		left: 20px;
		
		button {
		    display: block;
		    width: 260px;
		    height: 40px;
		    border: 1px #69B3F2 solid;
		    overflow: hidden;
		    text-align: center;
		    background: #69B3F2;
		    border-radius: 2px;
		    font-family: "Microsoft Yahei";
		    font-size: 20px;
		    color: #FFF;
		    cursor: pointer;
		    &:hover {
			background: (#69B3F2 * 1.1);
		    }
		}
		
		a {
		    display: none;
		}
	    }
	    
	    &.ui-login-form-hascaptcha {
		.ui-login-form-content {
		    top: 70px;
		}
		.captcha_field {
		    display: block;
		}
		.ui-login-form-action {
		    top: 240px;
		}
	    }
	    &.ui-login-form-nocaptcha {
		.ui-login-form-content {
		    .captcha_field {
			display: none;
		    }
		}
		.ui-login-form-action {
		    top: 200px;
		}
	    }
	    
	}
	
    }
    
}

.ui-login-footer {
    margin: 0 auto;
    width: 960px;
    
    .ui-login-footer-copyright {
	text-align: center;
	margin-top: 20px;
	
	span {
	    color: #FFF;
	    color: #333 \9;
	    font-size: 12px;
	    text-shadow: 0 0 3px #333;
	}
	
	a {
	    color: #FFF;
	    color: #333 \9;
	    font-size: 12px;
	    text-shadow: 0 0 3px #333;
	    text-decoration: none;
	    &:hover {
		color: #626262;
	    }
	}
    }
    
}

.wallpaper {
    position: absolute;
    zoom: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    img {
	visibility: hidden;
	position: absolute;
	//width: 100%;
	//height: 100%;
	overflow: hidden;
	border: none;
    }
}